import request from '@/utils/request'

export function approveRecord_list(query) { //待我查询分页查询  POST /api/approveRecord/list
    return request({
        url: '/api/approveRecord/list',
        method: 'post',
        data: query
    })
}

export function MyApproveRecord_list(query) { //我审核的  POST /api/approveRecord/list
    return request({
        url: '/api/approveRecord/MyApproveRecord',
        method: 'post',
        data: query
    })
}
export function Myproposal_list(query) { //我发起的  POST /api/approveRecord/list
    return request({
        url: '/api/approveRecord/Myproposal',
        method: 'post',
        data: query
    })
}
export function findById_approveRecord(query) { //根据Id查询  POST /api/approveRecord/findById
    return request({
        url: '/api/approveRecord/findById',
        method: 'post',
        data: query
    })
}
export function approve_approveRecord(query) { //根据id审核  POST /api/approveRecord/approve
    return request({
        url: '/api/approveRecord/approve',
        method: 'post',
        data: query
    })
}

